<div class="form-group">
  <label for="{{id}}" class="{{options.labelWidth || 'col-sm-2'}} control-label">
    <span class="text-danger">{{options.required ? '*' : ''}}</span>
    <span >{{options.label}}</span>
  </label>
  <div class="{{options.formItemWidth || 'col-sm-4'}}">
    <select class="form-control"
        id="{{id}}"
              formly-dynamic-name="options.key"
              formly-custom-validation="options.validators"
        ng-model="result[options.key || index]"
        ng-required="options.required"
        ng-disabled="options.disabled"
        ng-options="option.value as option.name group by option.group for option in options.options">
    </select>
     <p id="{{id}}_description" class="help-block" ng-if="options.description">{{options.description}}</p>
  </div>
</div>
